home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10805 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  965 b 

  1. Path: news1.is.net!news
  2. From: Mark VanTassel <mvantassel@teambca.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: MFC Question: OnSize() messages not getting to FormView
  5. Date: Mon, 11 Mar 1996 06:14:59 -0500
  6. Organization: Barfield, Cauthen and Associates
  7. Message-ID: <31440B33.1E07@teambca.com>
  8. NNTP-Posting-Host: dynamic22.is.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. I've got a tiny MSVC 1.50 (MFC 2.50) app, generated by app wizard. The 
  15. initial view (the one provided by the wizard) works fine, but another 
  16. view I added (by copying and renaming everything I could find) has one 
  17. irritating flaw: the OnSize() method of the form view never gets called! 
  18. I don't see how this can be, since OnSize() is virtual at the CWnd 
  19. level... besides, the other formview - the one I copied from (admittedly 
  20. before I started caring about OnSize) - gets called just like it should!
  21.  
  22. Any ideas?
  23.